package com.taptech.doufu.bean.novel;

import com.taptech.doufu.bean.DFHomeBannerBean;
import com.taptech.doufu.bean.base.ResponseBaseBean;

import java.util.List;

/**
 * Created by Wyatt on 2017/10/10/010.
 */

public class ImageGsonBean extends ResponseBaseBean {
    private List<DFHomeBannerBean> data;

    public List<DFHomeBannerBean> getData() {
        return data;
    }

    public void setData(List<DFHomeBannerBean> data) {
        this.data = data;
    }

    public DFHomeBannerBean getSingleImage() {
        if (data != null && data.size() > 0) {
            return data.get(0);
        }
        return new DFHomeBannerBean();
    }
}


